#pragma once
#include "CSocketClient.h"
#include "apiScreenControlSocketClient.h"
class CScreenControlSocketClient :public CSocketClient
{
private:
	bool m_bSendable;
	int m_iServerWidth;
	int m_iServerHeight;
	double m_dWSeed;
	double m_dHSeed;
public:
	CScreenControlSocketClient();
	~CScreenControlSocketClient();
	bool CaculateSeed(int w, int h);
	int GetServerWidth();
	int GetServerHeight();
	bool Sendable();
	virtual bool PreAccept();
	virtual void OnRead(int);
	virtual void OnSend(int);
};

